<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Document</title>
</head>
<body>
  <div id="demo"></div>
  <script src="../core/instance/index.js"></script>
  <script>
    Vue.component('comp', {
      template: `
        <div @click="counter++">{{counter}}</div>
      `,
      data() {
        return { counter: 1}
      }
    })
    const app = new Vue({
      el: '#demo',
      data: { counter: 1}
    })
  </script>
</body>
</html>